﻿using Core.Toolkit.Core.Entitys;
using System;
using System.ComponentModel.DataAnnotations;

namespace Core.SimpleTemp.Entitys
{
    public class SysRole : Entity
    {
        [StringLength(20)]
        public string Code { get; set; }
        [StringLength(20)]
        [Required(ErrorMessage = "角色名称不能为空。")]
        public string Name { get; set; }
        [StringLength(100)]
        public string Remarks { get; set; }
        

        public Guid? CreateFactory { get; set; }
        

    }
}
